home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 February: Technology Seed / Mac Tech Seed Feb '97.toast / ODF Release 3 / ODFDev / Bitmap / Sources / Defines.k < prev    next >
Encoding:
Text File  |  1996-12-16  |  2.4 KB  |  71 lines  |  [TEXT/MPS ]

  1. //========================================================================================
  2. //
  3. //    File:                Defines.k
  4. //    Release Version:    $ ODF 3 $
  5. //
  6. //    Copyright:    (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
  7. //
  8. //========================================================================================
  9.  
  10. #ifndef DEFINES_K
  11. #define DEFINES_K
  12.  
  13. #ifndef FWMENUS_K
  14. #include "FWMenus.k"
  15. #endif
  16.  
  17. //-------------------------------------------------------------------------------------
  18. // Uncomment the following three lines, and define them appropriately!!
  19. // If your part can be a container for other parts, define FW_SUPPORTS_EMBEDDING
  20. // to be 1.  Otherwise define it to be 0.
  21. // If your part defines any ODExtensions, define FW_SUPPORTS_EXTENSIONS to be
  22. // 1 to enable the extensions manager.  Otherwise, define it to be 0.
  23. // If your part is scriptable, define FW_SUPPORTS_SCRIPTING to be 1. Otherwise,
  24. // define it to be zero.  Note that if your part is scriptable is must support
  25. // extensions, so FW_SUPPORTS_EXTENSIONS must be defined to be 1.
  26.  
  27. // Cyberdog currently is Mac-only (and CodeWarrior only also!)
  28.  
  29. #if defined(FW_BUILD_MAC) && defined (__MWERKS__)
  30. #define FW_SUPPORTS_CYBERDOG     1
  31. #else
  32. #define FW_SUPPORTS_CYBERDOG     0
  33. #endif
  34.  
  35. #define FW_SUPPORTS_EMBEDDING     0
  36. #define FW_SUPPORTS_EXTENSIONS     (FW_SUPPORTS_CYBERDOG)
  37. #define FW_SUPPORTS_SCRIPTING     0
  38. #define FW_SUPPORTS_LINKING     0
  39.  
  40. //-------------------------------------------------------------------------------------
  41. // Icons ID
  42. #define kViewAsIconID            139
  43. #define kAboutIconID            141
  44.  
  45. //-------------------------------------------------------------------------------------
  46. // Menus
  47. #define kMenuBar                1100
  48.  
  49. // ----- Commands -----
  50. #define cHalfSize                FW_kFirstUserCommandID
  51. #define cRealSize                FW_kFirstUserCommandID + 1
  52. #define cDoubleSize                FW_kFirstUserCommandID + 2
  53. #define cFitToFrame                FW_kFirstUserCommandID + 3
  54. #define cRequestFrame            FW_kFirstUserCommandID + 4
  55. #define cRemoveFrame            FW_kFirstUserCommandID + 5
  56.  
  57. //#if FW_SUPPORTS_CYBERDOG
  58. #define cReload                 FW_kFirstUserCommandID + 6
  59. #define cReloadFast             FW_kFirstUserCommandID + 7
  60. #define cCyberdogCommands         (FW_kFirstUserCommandID + 100)
  61. //#endif
  62.  
  63. //-------------------------------------------------------------------------------------
  64. // Various Resources
  65. #define kAbout                    1100    // FW_RAbout
  66. #define kPartInfoID                1100    // FW_RPartInfo
  67. #define kSaveAs                    1100    // FW_RSaveAsInfo
  68.  
  69. #endif
  70.  
  71.